//package org.example.other;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
//import org.springframework.boot.context.properties.EnableConfigurationProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//@EnableConfigurationProperties(ExecuteProperties.class)
//@ConditionalOnClass(ExecuteService.class)
//public class ExecuteServiceAutoConfiguration {
//    @Autowired
//    ExecuteProperties executeProperties;
//
//    @Bean
//    ExecuteService exeService() {
//        ExecuteService executeService = new ExecuteService();
//        executeService.setName(executeProperties.getName());
//        executeService.setMsg(executeProperties.getMsg());
//        return executeService;
//    }
//}
